<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<table>
		<thead>
			<tr>
				<th>序号</th>
				<th>用户名</th>
				<th>密码</th>
			</tr>
		</thead>
		<tbody>
		<s:iterator var="user" value="#request.users" status="status">
			<tr>
				<td><s:property value="#status.index" /></td>
				<td><s:property value="#user.username" /></td>
				<td><s:property value="#user.password" /></td>
				<td><a href="userdelete.action?id=<s:property value="#user.id" />">删除</a></td>
			</tr>
		</s:iterator>
		</tbody>
	</table>
</body>
</html>